import allure

#初始化allure
def allure_init(case):
    allure.dynamic.feature(case["feature"])
    allure.dynamic.story(case["story"])
    allure.dynamic.title(f"ID为{case['id']}，标题为{case['title']}")

#allure进行封装